                       package rohyunji.oop;

public class J31_FanVO {

	static final int slow=1;
	static final int medium=2;
	static final int fast=3;
	boolean on;
	float radius;
	String color;
	int speed;
	public J31_FanVO() {on=false;speed=slow;radius=5.0f;color="blue";}
	
	public J31_FanVO(boolean on,int speed,float radius,String color) 
	{
		this.on=on;
		this.radius=radius;
		this.color=color;
		this.speed=speed;
	}

	public boolean isOn() {return on;}

	public void setOn(boolean on) {this.on = on;}

	public float getRadius() {return radius;}
	public void setRadius(float radius) {this.radius = radius;}

	public String getColor() {return color;}
	public void setColor(String color) {this.color = color;}

	public int getSpeed() {return speed;}
	public void setSpeed(int speed) {this.speed = speed;}

	public static int getSlow() {return slow;}
	public static int getMedium() {return medium;}
	public static int getFast() {return fast;}
	
}
